package com.yanqu.road.logic.bussiness.player.activity.auto.reward;

import com.yanqu.road.entity.activity.auto.reward.UserEveryDayChargeReward;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

/**
 * @Author wpj
 * @Date 2020/8/27
 */
public class RechargeActivityAutoRewardBusiness {
    public static Map<Integer, Map<Integer, Map<Integer, Map<Long, UserEveryDayChargeReward>>>> getUserEveryDayChargeReward(List<Integer> expiredActivityBiggerThanFiveDayList) {
        return DaoHelper.getUserActivityChargeAutoRewardDaoImpl().getUserEveryDayChargeReward(expiredActivityBiggerThanFiveDayList);
    }

    public static boolean addUserEveryDayChargeReward(UserEveryDayChargeReward userEveryDayChargeReward) {
        return DaoHelper.getUserActivityChargeAutoRewardDaoImpl().add(userEveryDayChargeReward);
    }

    public static boolean updateUserEveryDayChargeReward(UserEveryDayChargeReward userEveryDayChargeReward) {
        return DaoHelper.getUserActivityChargeAutoRewardDaoImpl().update(userEveryDayChargeReward);
    }
}
